﻿using System;
using System.Collections.Generic;

using E.BLL;
using E.Model;
using E.Web.UI.Page;

using X.Common;

namespace E.Web.Teacher.internals.exam
{
    public partial class ScoreView : TeacherBasePage
    {
        public int id;
        public UserModel model;
        public IDictionary<string, int> courseScoreList;
        public IDictionary<string, int> projectScoreList;
        public IDictionary<string, int> inputScoreList;

        protected override void ShowPage()
        {
            id = XRequest.GetInt("id", -1);
            if (id != -1)
            {
                model = (new UserBLL()).GetUserInfoByUserID(id);
                ExamBLL bll = new ExamBLL();
                courseScoreList = bll.GetCourseScore(id);
                projectScoreList = bll.GetProjectScore(id);
                inputScoreList = bll.GetInputScore(id);
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
